<ion-view view-title="企业宣传片">
	<!--一定要手动加导航栏-->
	<ion-nav-bar>
		<ion-nav-back-button>
		</ion-nav-back-button>
	</ion-nav-bar>
	<ion-content>
		<!--描述：下拉刷新-->
		<div class="row text-center font-middle-my padding-0" id="seckill-top1">
			<div class="col ellipsis" on-tap="activeSlide(0)" ng-class="selectIndex==0?'top-activated':''">
				明星企业
			</div>
			<div class="col ellipsis" on-tap="activeSlide(1)" ng-class="selectIndex==1?'top-activated':''">
				公司展示
			</div>
			<div class="col ellipsis" on-tap="activeSlide(2)" ng-class="selectIndex==2?'top-activated':''">
				加盟店开业
			</div>
			<div class="col ellipsis" on-tap="activeSlide(3)" ng-class="selectIndex==3?'top-activated':''">
				展会视频
			</div>
			<div class="col ellipsis" on-tap="activeSlide(4)" ng-class="selectIndex==4?'top-activated':''">
				会议剪彩
			</div>
		</div>
		
		<ion-slide-box delegate-handle="tab-handle" on-touch="onTouch()" on-release="onRelease()" draw-slide="false" on-slide-changed="slideChanged(index)" active-slide="slideIndex" show-pager="false" >
			<!--明星企业-->
			<ion-slide>
			<div class="list list-borderless" id="star-top1" style="margin-bottom: 0px;">
				<li class="item item-input item-input-inset item-icon-right">
					<label class="item-input-wrapper">
			   	  		<input type="text" placeholder="请输入您的关键字" ng-model="input.keywords"/>
			   	  	</label>
					<i class="icon ion-search font-1rem-my" on-tap="doSearch()"></i>
				</li>
				<li class="item padding-10" ng-show="is_show" style="padding:5px;padding-left: 10px;padding-right: 10px;">
					<span class="bian_gray left-zhang border-radius-my font-middle-my calm" style="padding: 2px 8px;" on-tap="onshow_starbusiness_publicity()">申请企业宣传片</span>
					<span class="bian_gray right-zhang border-radius-my font-middle-my positive"  style="padding: 2px 8px;" on-tap="onshow_starbusiness_pushinfo()">申请推送消息</span>
				</li>
				<li class="item item-input  font-gray-my" id="star-top2">
				<span class="font-large-my" ng-class="{'assertive':order==1}" on-tap="orderBy(1)">最新</span>
				<span class="font-large-my margin-left-10-my" ng-class="{'assertive':order==2}" on-tap="orderBy(2)">最热</span>
			</li>
			</div>
			
			<ion-scroll direction="y" ng-style="star_myObj" >
				<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
			<div class="padding-5 margin-top-10-my">
				<div ng-repeat="obj in listData.advertis">
					<div style=" width: 48.5%;position: relative;overflow: hidden;padding: 0px;" class="item left-zhang light-bg margin-bottom-10 bian_gray border-radius-my" ng-class="{'col-offset-3':$index%2==1}" on-tap="onshow_stardetail(obj.id)">
							<div style="width: 100%;height: 6rem;">
								<img src="{{obj.video_image}}" ng-if="obj.video_image" style="width: 100%;max-height: 6rem;" />
								<img src="{{noImg}}" ng-if="obj.video_image==''||obj.video_image==null" style="width: 100%;max-height: 6rem;"/>
							</div>
							
							<div class="padding-5">
								<p class="font-middle-my">{{obj.video_name | limitTo:15}}</p>
								<p class="font-small-my font-gray-my" style="height: 40px;">{{obj.company_profile|limitTo:20}}<span  ng-if="obj.company_profile.length>20">....</span></p>
								<p class="font-small-my">播放：<span class="assertive font-middle-my">{{obj.view_count}}</span>次</p>
							</div>
					</div>
					<div ng-class="{'clear_zhang':($index+1)%2==0}"></div>
				</div>
			</div>
				<!--描述：当用户到达页脚或页脚附近时-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
			</ion-scroll>
			</ion-slide>
			
			<ion-slide>
			<div class="list list-borderless" id="star-top1" style="margin-bottom: 0px;">
				<li class="item item-input item-input-inset item-icon-right">
					<label class="item-input-wrapper">
			   	  		<input type="text" placeholder="请输入您的关键字" ng-model="input.keywords1"/>
			   	  	</label>
					<i class="icon ion-search font-1rem-my" on-tap="doSearch()"></i>
				</li>
				<!--<li class="item padding-0 item-image">
					<img src="img/starpic.png" />
				</li>-->
				<li class="item padding-10" ng-show="is_show" style="padding:5px;padding-left: 10px;padding-right: 10px;">
					<span class="bian_gray left-zhang border-radius-my font-middle-my calm" style="padding: 2px 8px;" on-tap="onshow_starbusiness_publicity()">申请企业宣传片</span>
					<span class="bian_gray right-zhang border-radius-my font-middle-my positive"  style="padding: 2px 8px;" on-tap="onshow_starbusiness_pushinfo()">申请推送消息</span>
				</li>
				<li class="item item-input  font-gray-my" id="star-top2">
				<span class="font-large-my" ng-class="{'assertive':order1==1}" on-tap="orderBy(1)">最新</span>
				<span class="font-large-my margin-left-10-my" ng-class="{'assertive':order1==2}" on-tap="orderBy(2)">最热</span>
			</li>
			</div>
			
			<ion-scroll direction="y" ng-style="star_myObj" >
				<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
			<div class="padding-5 margin-top-10-my">
				<div ng-repeat="obj in listData1.advertis">
					<div style=" width: 48.5%;position: relative;overflow: hidden;padding: 0px;" class="item left-zhang light-bg margin-bottom-10 bian_gray border-radius-my" ng-class="{'col-offset-3':$index%2==1}" on-tap="onshow_stardetail(obj.id)">
							<div style="width: 100%;height: 6rem;">
								<img src="{{obj.video_image}}" ng-if="obj.video_image" style="width: 100%;max-height: 6rem;" />
								<img src="{{noImg}}" ng-if="obj.video_image==''||obj.video_image==null" style="width: 100%;max-height: 6rem;"/>
							</div>
							
							<div class="padding-5">
								<p class="font-middle-my">{{obj.video_name | limitTo:15}}</p>
								<p class="font-small-my font-gray-my" style="height: 40px;">{{obj.company_profile|limitTo:20}}<span  ng-if="obj.company_profile.length>20">....</span></p>
								<p class="font-small-my">播放：<span class="assertive font-middle-my">{{obj.view_count}}</span>次</p>
							</div>
					</div>
					<div ng-class="{'clear_zhang':($index+1)%2==0}"></div>
				</div>
			</div>
				<!--描述：当用户到达页脚或页脚附近时-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
			</ion-scroll>
			</ion-slide>
			
			<!--公司展示-->
			<ion-slide>
			<div class="list list-borderless" id="star-top1" style="margin-bottom: 0px;">
				<li class="item item-input item-input-inset item-icon-right">
					<label class="item-input-wrapper">
			   	  		<input type="text" placeholder="请输入您的关键字" ng-model="input.keywords2"/>
			   	  	</label>
					<i class="icon ion-search font-1rem-my" on-tap="doSearch()"></i>
				</li>
				<!--<li class="item padding-0 item-image">
					<img src="img/starpic.png" />
				</li>-->
				<li class="item padding-10" ng-show="is_show" style="padding:5px;padding-left: 10px;padding-right: 10px;">
					<span class="bian_gray left-zhang border-radius-my font-middle-my calm" style="padding: 2px 8px;" on-tap="onshow_starbusiness_publicity()">申请企业宣传片</span>
					<span class="bian_gray right-zhang border-radius-my font-middle-my positive"  style="padding: 2px 8px;" on-tap="onshow_starbusiness_pushinfo()">申请推送消息</span>
				</li>
				<li class="item item-input  font-gray-my" id="star-top2">
				<span class="font-large-my" ng-class="{'assertive':order2==1}" on-tap="orderBy(1)">最新</span>
				<span class="font-large-my margin-left-10-my" ng-class="{'assertive':order2==2}" on-tap="orderBy(2)">最热</span>
			</li>
			</div>
			
			<ion-scroll direction="y" ng-style="star_myObj" >
				<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
			<div class="padding-5 margin-top-10-my">
				<div ng-repeat="obj in listData2.advertis">
					<div style=" width: 48.5%;position: relative;overflow: hidden;padding: 0px;" class="item left-zhang light-bg margin-bottom-10 bian_gray border-radius-my" ng-class="{'col-offset-3':$index%2==1}" on-tap="onshow_stardetail(obj.id)">
							<div style="width: 100%;height: 6rem;">
								<img src="{{obj.video_image}}" ng-if="obj.video_image" style="width: 100%;max-height: 6rem;" />
								<img src="{{noImg}}" ng-if="obj.video_image==''||obj.video_image==null" style="width: 100%;max-height: 6rem;"/>
							</div>
							
							<div class="padding-5">
								<p class="font-middle-my">{{obj.video_name | limitTo:15}}</p>
								<p class="font-small-my font-gray-my" style="height: 40px;">{{obj.company_profile|limitTo:20}}<span  ng-if="obj.company_profile.length>20">....</span></p>
								<p class="font-small-my">播放：<span class="assertive font-middle-my">{{obj.view_count}}</span>次</p>
							</div>
					</div>
					<div ng-class="{'clear_zhang':($index+1)%2==0}"></div>
				</div>
			</div>
				<!--描述：当用户到达页脚或页脚附近时-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
			</ion-scroll>
			</ion-slide>
			<!--加盟店开业-->
			<ion-slide>
			<div class="list list-borderless" id="star-top1" style="margin-bottom: 0px;">
				<li class="item item-input item-input-inset item-icon-right">
					<label class="item-input-wrapper">
			   	  		<input type="text" placeholder="请输入您的关键字" ng-model="input.keywords3"/>
			   	  	</label>
					<i class="icon ion-search font-1rem-my" on-tap="doSearch()"></i>
				</li>
				<!--<li class="item padding-0 item-image">
					<img src="img/starpic.png" />
				</li>-->
				<li class="item padding-10" ng-show="is_show" style="padding:5px;padding-left: 10px;padding-right: 10px;">
					<span class="bian_gray left-zhang border-radius-my font-middle-my calm" style="padding: 2px 8px;" on-tap="onshow_starbusiness_publicity()">申请企业宣传片</span>
					<span class="bian_gray right-zhang border-radius-my font-middle-my positive"  style="padding: 2px 8px;" on-tap="onshow_starbusiness_pushinfo()">申请推送消息</span>
				</li>
				<li class="item item-input  font-gray-my" id="star-top2">
				<span class="font-large-my" ng-class="{'assertive':order3==1}" on-tap="orderBy(1)">最新</span>
				<span class="font-large-my margin-left-10-my" ng-class="{'assertive':order3==2}" on-tap="orderBy(2)">最热</span>
			</li>
			</div>
			
			<ion-scroll direction="y" ng-style="star_myObj" >
				<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
			<div class="padding-5 margin-top-10-my">
				<div ng-repeat="obj in listData3.advertis">
					<div style=" width: 48.5%;position: relative;overflow: hidden;padding: 0px;" class="item left-zhang light-bg margin-bottom-10 bian_gray border-radius-my" ng-class="{'col-offset-3':$index%2==1}" on-tap="onshow_stardetail(obj.id)">
							<div style="width: 100%;height: 6rem;">
								<img src="{{obj.video_image}}" ng-if="obj.video_image" style="width: 100%;max-height: 6rem;" />
								<img src="{{noImg}}" ng-if="obj.video_image==''||obj.video_image==null" style="width: 100%;max-height: 6rem;"/>
							</div>
							
							<div class="padding-5">
								<p class="font-middle-my">{{obj.video_name | limitTo:15}}</p>
								<p class="font-small-my font-gray-my" style="height: 40px;">{{obj.company_profile|limitTo:20}}<span  ng-if="obj.company_profile.length>20">....</span></p>
								<p class="font-small-my">播放：<span class="assertive font-middle-my">{{obj.view_count}}</span>次</p>
							</div>
					</div>
					<div ng-class="{'clear_zhang':($index+1)%2==0}"></div>
				</div>
			</div>
				<!--描述：当用户到达页脚或页脚附近时-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
			</ion-scroll>
			</ion-slide>
			<!--展会视频-->
			<ion-slide>
			<div class="list list-borderless" id="star-top1" style="margin-bottom: 0px;">
				<li class="item item-input item-input-inset item-icon-right">
					<label class="item-input-wrapper">
			   	  		<input type="text" placeholder="请输入您的关键字" ng-model="input.keywords4"/>
			   	  	</label>
					<i class="icon ion-search font-1rem-my" on-tap="doSearch()"></i>
				</li>
				<!--<li class="item padding-0 item-image">
					<img src="img/starpic.png" />
				</li>-->
				<li class="item padding-10" ng-show="is_show" style="padding:5px;padding-left: 10px;padding-right: 10px;">
					<span class="bian_gray left-zhang border-radius-my font-middle-my calm" style="padding: 2px 8px;" on-tap="onshow_starbusiness_publicity()">申请企业宣传片</span>
					<span class="bian_gray right-zhang border-radius-my font-middle-my positive"  style="padding: 2px 8px;" on-tap="onshow_starbusiness_pushinfo()">申请推送消息</span>
				</li>
				<li class="item item-input  font-gray-my" id="star-top2">
				<span class="font-large-my" ng-class="{'assertive':order4==1}" on-tap="orderBy(1)">最新</span>
				<span class="font-large-my margin-left-10-my" ng-class="{'assertive':order4==2}" on-tap="orderBy(2)">最热</span>
			</li>
			</div>
			
			<ion-scroll direction="y" ng-style="star_myObj" >
				<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
			<div class="padding-5 margin-top-10-my">
				<div ng-repeat="obj in listData4.advertis">
					<div style=" width: 48.5%;position: relative;overflow: hidden;padding: 0px;" class="item left-zhang light-bg margin-bottom-10 bian_gray border-radius-my" ng-class="{'col-offset-3':$index%2==1}" on-tap="onshow_stardetail(obj.id)">
							<div style="width: 100%;height: 6rem;">
								<img src="{{obj.video_image}}" ng-if="obj.video_image" style="width: 100%;max-height: 6rem;" />
								<img src="{{noImg}}" ng-if="obj.video_image==''||obj.video_image==null" style="width: 100%;max-height: 6rem;"/>
							</div>
							
							<div class="padding-5">
								<p class="font-middle-my">{{obj.video_name | limitTo:15}}</p>
								<p class="font-small-my font-gray-my" style="height: 40px;">{{obj.company_profile|limitTo:20}}<span  ng-if="obj.company_profile.length>20">....</span></p>
								<p class="font-small-my">播放：<span class="assertive font-middle-my">{{obj.view_count}}</span>次</p>
							</div>
					</div>
					<div ng-class="{'clear_zhang':($index+1)%2==0}"></div>
				</div>
			</div>
				<!--描述：当用户到达页脚或页脚附近时-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
			</ion-scroll>
			</ion-slide>
		</ion-slide-box>
	</ion-content>
</ion-view>